home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1998 / MacHack 1998.toast / Sessions / Completions / Completions Source / OS Queues / OSQueueLinkBase.h < prev   
Encoding:
Text File  |  1998-06-17  |  496 b   |  32 lines  |  [TEXT/CWIE]

  1. // OSQueueLinkBase.h
  2.  
  3. #ifndef OSQueueLinkBase_h
  4. #define OSQueueLinkBase_h
  5.  
  6. #ifndef Integers_h
  7. #include "Integers.h"
  8. #endif
  9. #ifndef __OSUTILS__
  10. #include <OSUtils.h>
  11. #endif
  12.  
  13. class OSQueueLinkBase: private QElem
  14.   {
  15.     friend class OSQueueBase;
  16.     
  17.     private:
  18.         bool queued;
  19.         
  20.         // not implemented:
  21.             OSQueueLinkBase( const OSQueueLinkBase& );
  22.             void operator=( const OSQueueLinkBase& );
  23.         
  24.     public:
  25.         OSQueueLinkBase();
  26.         ~OSQueueLinkBase();
  27.         
  28.         bool Queued() const        { return queued; }
  29.   };
  30.  
  31. #endif
  32.